package com.zhangliuliu.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhangliuliu.bean.EventBean;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface EventDao extends BaseMapper<EventBean> {
    //添加事件，并添加所在区域和会商记录
    void add(EventBean eventBean);
    //查看事件信息
    EventBean select(int id);
    //修改事件信息
   void  update(@Param("id") int id, @Param("stage") String stage, @Param("plan") String plan);
}
